﻿using SHZY.Common.Const;
using SHZY.Common.Contracts;
using SqlSugar;

namespace SHZY.BaseData.Entitys.Common.Entity;

/// <summary>
/// 用户与地点对应关系实体.
/// </summary>
[SugarTable("com_base_user_site_rel", "用户与地点对应关系")]
[Tenant(ClaimConst.TENANTID)]
public class ComBaseUsersiteRelEntity : CLDEntityBase
{
    /// <summary>
    /// 用户ID.
    /// </summary>
    [SugarColumn(ColumnName = "F_UserId", ColumnDescription = "用户ID")]
    public string UserId { get; set; }

    /// <summary>
    /// 地点编码.
    /// </summary>
    [SugarColumn(ColumnName = "F_Site", ColumnDescription = "地点编码")]
    public string Site { get; set; }
}